FROM java:8
ADD ./target/work-time-board-1.0.jar //
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
ENTRYPOINT exec java -Xms1024M -Xmx1024M -Dfile.encoding=utf-8 -jar /work-time-board-1.0.jar
